package com.molyfun.parents.rest.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator
 * 小组评测表数据提交，包含多媒体素材
 * @since 2018-06-17
 */

public class NewSignUpSubmitInfoRequest {

    /**
     * {"groupid":"群组id ","training":[{"id":"pep-3id","begintime":"24","traininglist":[{"id":"123456","begintime":"24","endtime":"72"}]}],"resultlist":[{"id":"题目id","optionlist":[{"id":"答案id","url":"描述题上传的图片","content":"描述内容"}]}]}
     */

    private String groupid;
    private List<NewTeamEvaluateTrainingListResponse.NewTeamEvaluateBean> training;
    private List<ResultBean> resultlist;

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public List<NewTeamEvaluateTrainingListResponse.NewTeamEvaluateBean> getTraining() {
        return training;
    }

    public void setTraining(List<NewTeamEvaluateTrainingListResponse.NewTeamEvaluateBean> training) {
        this.training = training;
    }

    public List<ResultBean> getResultlist() {
        return resultlist;
    }

    public void setResultlist(List<ResultBean> resultlist) {
        this.resultlist = resultlist;
    }

    public static class OptionListBean {

        /**
         * id : 答案id
         * url : 描述题上传的图片
         * content : 描述内容
         */

        private String id;
        private List<MediaobjectlistBean> urllist = new ArrayList<>();
        private String content = "";

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<MediaobjectlistBean> getUrlList() {
            return urllist;
        }

        public void setUrlList(List<MediaobjectlistBean> url) {
            this.urllist = url;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }

    public static class ResultBean {
        /**
         * id : xxx
         */

        private String id;//题目id

        private List<OptionListBean> option;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<OptionListBean> getOptionlist() {
            return option;
        }

        public void setOptionlist(List<OptionListBean> optionlist) {
            this.option = optionlist;
        }
    }
}
